package com.hk.service.impl;

import com.hk.commons.entity.FinancialLog;
import com.hk.dao.base.impl.BaseServiceImpl;
import com.hk.service.IFinancialLog;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.jdbc.core.JdbcTemplate;
import org.springframework.stereotype.Service;

import java.time.LocalDateTime;
import java.util.Map;

/**
 * Created by Sheldon Chen on 2017/4/25.
 */
@Service
public class FinancialLogImpl extends BaseServiceImpl<FinancialLog> implements IFinancialLog {

    @Autowired
    private JdbcTemplate jdbcTemplate;

    @Override
    public FinancialLog add(FinancialLog financialLog) {
        this.save(financialLog);
        return financialLog;
    }

    @Override
    public Map<Long, Integer> query(LocalDateTime startTime, LocalDateTime endTime) {
        return null;
    }
}
